LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE    := libtestscrcap
LOCAL_SRC_FILES := testscrcap.cpp renderscr.cpp imgtcpsr.cpp capturesr.cpp udpxbuf.cpp
LOCAL_SRC_FILES += \
	ca/casock.cpp \
	ca/cathread.cpp \
	ca/timerfdport.h \
	ca/caevent.cpp \
	ca/calist.cpp \
	ca/caipcmsg.cpp \
	ca/cautil.cpp \
	ca/catimer.cpp \
	ca/timerfdport.cpp \
	ca/cabuffer.cpp \
	ca/CGetPutBuf.cpp 
	

#LOCAL_LDLIBS := -llog
LOCAL_SHARED_LIBRARIES := liblog \
libcutils \
  libutils \
  libbinder \
  libskia \
    libui \
    libgui

LOCAL_SHARED_LIBRARIES += libjpeg_my libandroid

LOCAL_C_INCLUDES += \
  external/skia/include/core \
  external/skia/include/effects \
  external/skia/include/images \
  external/skia/src/ports \
  external/skia/include/utils

LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/ca

include $(BUILD_SHARED_LIBRARY)
